package com.atguigu.service;

import com.atguigu.pojo.MainTask;
import com.atguigu.pojo.Page;

import java.util.List;

public interface MainTaskService {
    public void addMainTask(MainTask mainTask);
    public void updateMainTask(MainTask mainTask);
    public void deleteMainTaskById(String id);
    public MainTask queryMainTaskByLastId(String LastId);
    public MainTask queryMainTaskById(String id);
    public List<MainTask> queryMainTasks();
    public Page page(Integer pageNo, Integer pageSize);
}
